using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class Aspnet_RolesEntity:AF_ORM.CORE.BaseEntity
    {
         public Aspnet_RolesEntity()
         {
             tableName = "Aspnet_Roles";


			 fieldInfos.Add(new FieldInfo("Aspnet_Roles","ApplicationId","ApplicationId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_Roles","Description","Description","string",256,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_Roles","LoweredRoleName","LoweredRoleName","string",256,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_Roles","RoleId","RoleId","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_Roles","RoleName","RoleName","string",256,false,false,true,false,"","",""));
         }
       //properties
                    
		 protected Guid m_ApplicationId;
		 protected string m_Description;
		 protected string m_LoweredRoleName;
		 protected Guid m_RoleId;
		 protected string m_RoleName;

		 public Guid ApplicationId

          { 
                get { 
                    return m_ApplicationId;}

                set{m_ApplicationId=value;

                    GetField("ApplicationId").Set();
                    GetField("ApplicationId").IsNull=(value == null);           
                    }
          }
		 public string Description

          { 
                get { 
                    return m_Description;}

                set{m_Description=value;

                    GetField("Description").Set();
                    GetField("Description").IsNull=(value == null);           
                    }
          }
		 public string LoweredRoleName

          { 
                get { 
                    return m_LoweredRoleName;}

                set{m_LoweredRoleName=value;

                    GetField("LoweredRoleName").Set();
                    GetField("LoweredRoleName").IsNull=(value == null);           
                    }
          }
		 public Guid RoleId

          { 
                get { 
                    return m_RoleId;}

                set{m_RoleId=value;

                    GetField("RoleId").Set();
                    GetField("RoleId").IsNull=(value == null);           
                    }
          }
		 public string RoleName

          { 
                get { 
                    return m_RoleName;}

                set{m_RoleName=value;

                    GetField("RoleName").Set();
                    GetField("RoleName").IsNull=(value == null);           
                    }
          }

}
}
